/*
 * ScopeLocker.cpp
 *
 *  Created on: Mar 24, 2011
 *      Author: stud
 */
#include "linuxwrap.h"

ScopedLocker::ScopedLocker(Mutex &m) : mutex(m)
{
	mutex.wait();
}

ScopedLocker::~ScopedLocker()
{
	mutex.signal();
}
